
#include <ExitMenu.h>
#include <World.h>


ExitMenu::ExitMenu(World* worldptr)
:Command(CommandType::BLOCKING)
,world(worldptr)
{
}

ExitMenu::~ExitMenu() 
{}

truth ExitMenu::Execute()
{
	world->SetMainMenu(0);
	complete = 1;
	
	return 1;
}